package com.wyp168.renrenfilm.core.feign;

import com.alibaba.fastjson.JSONObject;
import com.wyp168.common.utils.R;
import com.wyp168.renrenfilm.core.constants.ThirdServiceUrlConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient("renren-fast")
@Component
public interface RenrenFastFeign {
    @GetMapping(ThirdServiceUrlConstants.GET_CORR_USER_INFO)
    JSONObject info(@RequestHeader String token);
}
